package com.turbo.boot.crawler.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tangzc.mpe.actable.annotation.Column;
import com.tangzc.mpe.actable.annotation.Index;
import com.turbo.framework.model.TurboBaseModel;
import lombok.Data;

import java.util.Date;

/**
 * 描述
 *
 * @author wuyn
 * @since 2024/5/28
 */

@Data
@TableName(value = "crawler_result")
public class CrawlerResultEntity extends TurboBaseModel<CrawlerResultEntity> {


    @Column(comment = "分组ID")
    private Long groupId;

    //    @Index
    @Column(comment = "指标来源地址", notNull = true)
    private String sourceUrl;

//    @Index
//    @Column(comment = "指标分组", notNull = true)
//    private String quotaGroup;

    @Index
    @Column(comment = "指标编码", notNull = true)
    private String quotaCode;

    @Column(comment = "指标名称", defaultValue = "64")
    private String quotaName;

    @Column(comment = "指标值")
    private String quotaValue;

    @Column(comment = "收集时间", notNull = true)
    private Date collectedAt;
}
